#pragma once

#include "IAudio.h"

enum StreamType {
	_INPUT_ = 0,
	_OUTPUT_ = 1
};

class IAudio;

class IAudioStream
{
public:
	virtual ~IAudioStream(void) {} ;
	virtual int Open(IAudio *audio, void *config, void *callback, void *data) = 0;
	virtual int Start() = 0;
	virtual int	IsActive() = 0;
	virtual int	Stop() = 0;
	virtual int Close() = 0;
};

